package com.me.chat.config;

import com.github.tobato.fastdfs.FdfsClientConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.web.client.RestTemplate;

/**
 * 全局配置
 * @Authhor: qiu
 * @Date: 2021/1/16 2:38 下午
 */

@Configuration
@Import(FdfsClientConfig.class)
public class GlobalConfig {

    @Bean
    public RestTemplate restTemplate (){
        return new RestTemplate();
    }
}
